Definition: A "district attorney" (often abbreviated as DA) is a lawyer who works for the government and is responsible for prosecuting (bringing legal action against) people who are accused of committing crimes in a specific area called a judicial district.
While "district attorney" specifically refers to a prosecuting lawyer in a judicial district, the term "attorney" in general can refer to any lawyer who practices law, either as a prosecutor or defense lawyer.
In summary, a district attorney is a key figure in the legal system responsible for prosecuting criminal cases in a designated area.